package classes;

import java.io.IOException;
import java.util.ArrayList;

import ontology.UMCourtLOntology;
import jade.content.lang.Codec;
import jade.content.lang.sl.SLCodec;
import jade.content.onto.Ontology;
import jade.lang.acl.ACLMessage;

public class Messenger {

	private final AIDs aids = new AIDs();
	private Codec codec = new SLCodec();
	private Ontology ontology = UMCourtLOntology.getInstance();
	
	public Messenger(){}
	
	public ACLMessage generateLogMessage(String content)
	{
		ACLMessage msg = new ACLMessage(ACLMessage.INFORM);
	    msg.setOntology("log");
	    msg.setContent(content);
	    msg.addReceiver(aids.DATABASEL);
	    msg.setConversationId(""+System.currentTimeMillis());
	    return msg;
	}
}
